<template>
	<view>
		<rich-text :nodes="content"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: '',
			}
		},
		onLoad() {
			this.getData()
		},
		methods: {
			getData() {
				let self = this
				self._get('news.pages/index', {
					id: 3
				}, function(res) {
					self.content = res.data.content
				});
			},
		}
	}
</script>
<style>

</style>